<!doctype html>
<html>
<head>
<?php $this->load->view('common_head'); ?>
<link href="<?php echo base_url(); ?>themes/manage/default/css/style.css?v=<?php echo UI_VERSION; ?>" rel="stylesheet" />
</head>
<body>
<div class="wrap">
	<?php $this->load->view('common_header'); ?>
	<div class="main_wrap">
		<div class="main cc">
			<div class="bread_crumb"> <a class="home" href="<?php echo base_url(); ?>" title="返回首页">首页</a><em>&gt;</em><a href="<?php echo site_url('manage/user/index'); ?>" title="我的控制面板">控制面板</a> </div>
			<!--<h1 class="manage_bread">控制面板</h1>-->
			<div class="cc manage_page">
				<div class="msidebar">
					<div class="menubar">
						<?php $this->load->view('manage/common_left'); ?>
					</div>
				</div>
				<div class="mbody">
					<div class="mcontent">
						<div class="box_wrap">
							<div class="content">
								<div class="content_nav">
									<?php $this->load->view('manage/user_righttop'); ?>
								</div>
								<div class="manage_ct">
									<h3 class="mb5">登录日志</h3>
									<table class="mb10">
										<colgroup>
											<col width="60" />
											<col width="150" />
											<col />
										</colgroup>
										<tbody>
											<tr>
												<th class="tac">序号</th>
												<th class="tal">时间</th>
												<th class="tal">IP</th>
											</tr>
										<?php foreach ($loginlogs as $key => $loginlog) { ?>
											<tr>
												<td class="tac"><?php echo ($this->pagination->cur_page-1)*$this->pagination->per_page+$key+1; ?></td>
												<td><?php echo date('Y-m-d H:i:s', $loginlog['logintime']); ?></td>
												<td><?php echo long2ip($loginlog['loginip']); ?></td>
											</tr>
										<?php } ?>
										</tbody>
									</table>
									<div data-key="true" class="J_page_wrap mb20">
										<?php echo $this->pagination->create_links(); ?>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<!--.main-wrap,#main End-->
	<?php $this->load->view('common_footer'); ?>
</div>
<script>
Wind.use('jquery', 'global');
</script>
</body>
</html>